com.willowtreeapps.android.shared
Class OAKImageLoaderHandler

java.lang.Object
  extended by android.os.Handler
      extended by com.github.droidfu.imageloader.ImageLoaderHandler
          extended by com.willowtreeapps.android.shared.OAKImageLoaderHandler

public class OAKImageLoaderHandler
extends ImageLoaderHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class android.os.Handler
android.os.Handler.Callback
 
Field Summary
protected  String printedUrl
           
 
Constructor Summary
OAKImageLoaderHandler(android.widget.ImageView imageView, String imageUrl)
           
OAKImageLoaderHandler(android.widget.ImageView imageView, String imageUrl, android.graphics.drawable.Drawable errorDrawable)
           
 
Method Summary
 String getPrintedUrl()
           
 boolean handleImageLoaded(android.graphics.Bitmap bitmap, android.os.Message msg)
          Override this method if you need custom handler logic.
 void setPrintedUrl(String printedUrl)
           
 
Methods inherited from class com.github.droidfu.imageloader.ImageLoaderHandler
getErrorDrawable, getImageUrl, getImageView, handleImageLoadedMessage, handleMessage, setErrorDrawable, setImageUrl, setImageView
 
Methods inherited from class android.os.Handler
dispatchMessage, dump, getLooper, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

printedUrl

protected String printedUrl
Constructor Detail

OAKImageLoaderHandler

public OAKImageLoaderHandler(android.widget.ImageView imageView,
                             String imageUrl)

OAKImageLoaderHandler

public OAKImageLoaderHandler(android.widget.ImageView imageView,
                             String imageUrl,
                             android.graphics.drawable.Drawable errorDrawable)
Method Detail

setPrintedUrl

public void setPrintedUrl(String printedUrl)

getPrintedUrl

public String getPrintedUrl()

handleImageLoaded

public boolean handleImageLoaded(android.graphics.Bitmap bitmap,
                                 android.os.Message msg)
Override this method if you need custom handler logic. Note that this method can actually be called directly for performance reasons, in which case the message will be null

Overrides:
handleImageLoaded in class ImageLoaderHandler
Parameters:
bitmap - the bitmap returned from the image loader
msg - the handler message; can be null
Returns:
true if the view was updated with the new image, false if it was discarded


Copyright © 2011. All Rights Reserved.